import axios from '@/api/FileServer.js';
import api from '@/pub/unit_api.js';
//api 统一控制api前缀
var base_url = api.api.system;
export default {
    uploadFile: param => {
        let formData = new FormData();  
        formData.append('file', param)
        // for (const [key, value] of param) {
        //     console.log(key, value)
        //     }
        return axios.post(base_url + '/fileService/upLoadFile', formData);
      },
}
